import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {DynamicFormComponent} from './dynamic-form.component';
import {CreateFormComponent} from './create-form/create-form.component';

const routes: Routes = [
  {path: '', component: DynamicFormComponent},
  {path: 'create', component: CreateFormComponent},
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DynamicFormRoutingModule {
}
